package lingnan.cn.edu.test;

import java.awt.Color;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.border.MatteBorder;

public class CurveRun extends JFrame{
	
	public static void main(String[] args) {
		JFrame jf = new JFrame();
		JTextField count = new JTextField("0",2);
		count.setEditable(false);
		count.setBackground(Color.red);
		JPanel jp = new JPanel();
		MatteBorder border = new MatteBorder(2, 2, 2, 2,new Color(175,211,250));
		count.setBorder(border);
		jp.setSize(100,50);
		jp.add(count);
		jf.add(jp);
		jf.setSize(500,500);
		jf.setVisible(true);
	}
}
